package controller

import (
	"fmt"
	"net/http"
	myredis "w3c/redis"
)

func (p Routes) Redistest(w http.ResponseWriter, r *http.Request) {
	myredis.SET("test", "zz")
	aaa, err := myredis.Get("test")
	if err != nil {
		fmt.Println(err)
	}
	fmt.Println(aaa)

}
